#include "Defines.inc"
Function IsPickID As Boolean
	Integer id
 	id = GetCurrentPointID
 	If id = PICK_ID Or id = PREPICK_ID Then
 		IsPickID = True
 	Else
 		IsPickID = False
 	EndIf
Fend

Function IsFluxID As Boolean
	Integer id
	id = GetCurrentPointID
	If id = PREFLUX_ID Or id = FLUX_ID Then
		IsFluxID = True
	Else
		IsFluxID = False
	EndIf
Fend

Function isDropOKID As Boolean
	Integer id
	id = GetCurrentPointID
	If id = PREOK_ID Or id = PALLET1_ID Or id = pallet2_id Or id = pallet3_id Or id = pallet4_id Then
		isDropOKID = True
	Else
		isDropOKID = False
	EndIf
Fend
Function isDropNGID As Boolean
	Integer id
	id = GetCurrentPointID
	If id = PRENG_ID Or id = DROPNGLEFT_ID Or id = DROPNGRIGHT_ID Then
		isDropNGID = True
	Else
		isDropNGID = False
	EndIf
Fend

Function isSolderID As Boolean
	Integer id
	id = GetCurrentPointID
	If id = PRESOLDER_ID Or id = SOLDER_ID Then
		isSolderID = True
	Else
		isSolderID = False
	EndIf
Fend
Function isInspectionID
	Integer id
	id = GetCurrentPointID
	If (id >= INSPECTION1_ID And id <= INSPECTION12_ID) Or id = PREINSPECTION_ID Then
		isInspectionID = True
	Else
		isInspectionID = False
	EndIf
Fend

